<div id="navbar" class="navbar navbar-default navbar-collapse ace-save-state">
    <div class="navbar-container ace-save-state" id="navbar-container">
        <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler" data-target="#sidebar">
            <span class="sr-only">Toggle sidebar</span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>

            <span class="icon-bar"></span>
        </button>

        <div class="navbar-header pull-left">
            <a href="index.html" class="navbar-brand">
                <small>
                    <i class="fa fa-university"></i>
					长阳职业教育中心
                </small>
            </a>

            <button class="pull-right navbar-toggle navbar-toggle-img collapsed" type="button" data-toggle="collapse"
                    data-target=".navbar-buttons">
                <span class="sr-only">Toggle user menu</span>

                <img src="${basePath }/resources/ace-admin/images/avatars/user.jpg" alt="Jason's Photo"/>
            </button>
        </div>

        <div class="navbar-buttons navbar-header pull-right  collapse navbar-collapse" role="navigation">
            <ul class="nav ace-nav">
                <li class="light-blue dropdown-modal">
                    <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                        <img class="nav-user-photo" src="${basePath }/resources/ace-admin/images/avatars/user.jpg" alt="Jason's Photo"/>
                        <span class="user-info">
                        	<#if (Session.user.nickName)?exists>
                            	<small>欢迎，</small>
								${(Session.user.nickName)!}
							<#else>
								<small>你当前</small>
								未登录
							</#if>
                        </span>

                        <i class="ace-icon fa fa-caret-down"></i>
                    </a>

                    <ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                        <li>
                            <a href="login">
                                <i class="ace-icon fa fa-cog"></i>
								登录
                            </a>
                        </li>

                        <li>
                            <a href="${basePath}/logout">
                                <i class="ace-icon fa fa-power-off"></i>
								退出
                            </a>
                        </li>

                        <li class="divider"></li>

                        <li>
                            <a href="${basePath}/admin/article/list/${(Session.user.deptId)!}">
                                <i class="ace-icon fa fa-edit"></i>
								内容管理
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div><!-- /.navbar-container -->
</div>